public abstract class DeviceInfo
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceInfo.InfoType
枚举设备信息的类型
info type |
| Constructor and Description |
|---|
DeviceInfo(android.content.Context c) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getData() |
abstract void |
getDeviceInfo(DeviceInfo.InfoType type,
java.lang.String values)
获取设备信息
Get device info |
static int |
getDeviceType()
获取设备类型
|
void |
release()
回收DeviceInfo类的资源
Receive deviceinfo class resource |
void |
requestGetCPUTemperature()
请求获取CPU温度
Get CPU temperature. |
public void release()
public abstract void getDeviceInfo(DeviceInfo.InfoType type, java.lang.String values)
type - InfoType的枚举 values - 值 public void requestGetCPUTemperature()
public static int getDeviceType()
public static byte[] getData()